package com.ruyi.afterdemo.service.impl;

import com.ruyi.afterdemo.comm.BaseServiceImpl;
import com.ruyi.afterdemo.comm.CommRepository;
import com.ruyi.afterdemo.dao.StuRepository;
import com.ruyi.afterdemo.po.OContact;
import com.ruyi.afterdemo.service.StuService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by Administrator on 2018/10/12.
 */
@Service
public class StuServiceImpl extends BaseServiceImpl<OContact, Integer> implements StuService {
    @Resource
    private StuRepository stuRepository;

    public CommRepository<OContact, Integer> getRepository() {
        return stuRepository;
    }
    public Integer getIdenty(OContact a) {
        return a.getId();
    }

}
